package com.xintoucloud.pbs.dao.impl;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.xintoucloud.pbs.dao.MeetingTypeDao;
import com.xintoucloud.pbs.entity.MeetingType;
@Repository
public class MeetingTypeDaoImpl implements MeetingTypeDao{

	@Autowired
	private SessionFactory sessionFactory;
	
	@Override
	public MeetingType getOne(Integer mtid) {
		return sessionFactory.getCurrentSession().get(MeetingType.class, mtid);
	}

}
